#include<bits/stdc++.h>
using namespace std;
int main()
{
	int a,b,c;
	cin>>a>>b>>c;
	b=max(a,b)==a?a:b;
	max(b,c)==b?cout<<b:cout<<c;
    return 0;
}
